import request from '@/utils/request'

export function login(data) {
  return request({
    url: '/api/sys/login',
    method: 'post',
    data
  })
}
export function getuserimg(data) {
  return request({
    url: `/api/sys/user/${data}`

  })
}
export function getInfo(data) {
  return request({
    url: '/api/sys/profile',
    method: 'post',
    data
  })
}
